/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hhx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.hhx.entity.HhxFocus;

/**
 * 单表生成DAO接口
 * @author zmy
 * @version 2019-04-10
 */
@MyBatisDao
public interface HhxFocusDao extends CrudDao<HhxFocus> {

	int insertFocus(@Param("id") String id,@Param("userid") String userid,@Param("focusid") String focusid);

	int countFocus(String focusid);

	int getCount(@Param("userid") String userid,@Param("focusid") String focusid);

	int delFocus(@Param("userid") String userid,@Param("focusid") String focusid);

	List<Object[]> getList(String userid);

	List<Object[]> getList2(String focusid);
	
}